package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.example.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.awt.*;

import java.util.List;

@Mapper
public interface MemberMapper  extends BaseMapper<Member>{

    int insert(Member member);

    /**
     * 删除
     */
    int deleteById(Integer id);

    /**
     * 修改
     */
    int updateById(Member member);

    /**
     * 根据ID查询
     */
   Member selectById(Integer id);

    /**
     * 查询所有
     */
    List<Member> selectAll(Member member);
}
